package config

import "catering_sys_api/core/conf"

type Config struct {
	System conf.System
	Mysql  conf.Gorm
	Redis  conf.Redis
	Zap    conf.Zap

	//PayRpc   conf.RpcClientConf
	//OrderRpc conf.RpcClientConf
	//SysRpc   conf.RpcClientConf
}

var cf Config

func Set(c Config) {
	cf = c
}

func Get() Config {
	return cf
}
